home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Esportes
/
SlapShot.swf
/
scripts
/
frame_12
/
DoAction.as
Wrap
Text File
|
2006-06-13
|
1KB
|
72 lines
hotspot = getProperty("/player_movie", _X);
if(hotspot >= "100" and "120" >= hotspot)
{
tellTarget("shot1")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "121" and "140" >= hotspot)
{
tellTarget("shot2")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "141" and "160" >= hotspot)
{
tellTarget("shot3")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "161" and "180" >= hotspot)
{
tellTarget("shot4")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "181" and "200" >= hotspot)
{
tellTarget("shot5")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "201" and "220" >= hotspot)
{
tellTarget("shot6")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "221" and "240" >= hotspot)
{
tellTarget("shot7")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "241" and "260" >= hotspot)
{
tellTarget("shot8")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "261" and "280" >= hotspot)
{
tellTarget("shot9")
{
gotoAndPlay("shot" add int(random("3")));
}
}
else if(hotspot >= "281" and "300" >= hotspot)
{
tellTarget("shot10")
{
gotoAndPlay("shot" add int(random("3")));
}
}